.cm-dialog-shadow{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4000;
    background: rgba(0,0,0,.2);
}

.cm-dialog{
    visibility: hidden;
    z-index: -999;
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 3px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    min-width: 450px;
    background-color: #fff;
    -webkit-box-shadow: rgba(0, 0, 0, 0.117647) 0px 1px 6px, rgba(0, 0, 0, 0.117647) 0px 1px 4px;
    -moz-box-shadow: rgba(0, 0, 0, 0.117647) 0px 1px 6px, rgba(0, 0, 0, 0.117647) 0px 1px 4px;
    box-shadow: rgba(0, 0, 0, 0.117647) 0px 1px 6px, rgba(0, 0, 0, 0.117647) 0px 1px 4px;
}
.cm-dialog-body{
    flex: 1;
    height: 0;
    padding: 20px;
}
.cm-dialog-visible{
    visibility: visible;
    z-index: 5000;
}
.cm-dialog-header{
    position: relative;
    padding: 10px 20px;
    height: 40px;
    box-shadow: rgba(0, 0, 0, 0.117647) 0px 0px 3px;
}
.cm-dialog-close{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translate(0, -50%);
    font-size: 16px;
    cursor: pointer;
}
.cm-dialog-footer{
    box-shadow: rgba(0, 0, 0, 0.117647) 0px 0px 2px;
    text-align: right;
    padding: 10px 20px;
}